<template>
  <view class="quanyi">
    <image class="qy-title" src="../../../static/icons/hy-0.png"></image>
    <u-gap height="16"></u-gap>


    <view class="grids-wrap">
      <view class="title">
        <view class="line"></view>
        <view class="text">会员6大权益</view>
        <view class="line"></view>
      </view>

      <view class="grids">
        <view class="grid">
          <image class="icon" src="../../../static/icons/hy-1.png"></image>
          <view class="text">分享赚钱</view>
        </view>

        <view class="grid">
          <image class="icon" src="../../../static/icons/hy-2.png"></image>
          <view class="text">会员特价</view>
        </view>

        <view class="grid">
          <image class="icon" src="../../../static/icons/hy-3.png"></image>
          <view class="text">买单优惠</view>
        </view>

        <view class="grid">
          <image class="icon" src="../../../static/icons/hy-4.png"></image>
          <view class="text">VIP客服</view>
        </view>

        <view class="grid">
          <image class="icon" src="../../../static/icons/hy-5.png"></image>
          <view class="text">专享券</view>
        </view>

        <view class="grid">
          <image class="icon" src="../../../static/icons/hy-6.png"></image>
          <view class="text">门店打折</view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      };
    }
  }
</script>

<style lang="scss">
  .quanyi {
    width: 702rpx;
    margin: 0 auto;
    background: #2f333c;
    border-radius: 24rpx;
    padding: 24rpx 16rpx;

    .qy-title {
      width: 400rpx;
      height: 80rpx;
    }

    .grids-wrap {
      width: 100%;
      border-radius: 24rpx;
      background: #1f2126;
      color: #967658;

      .title {
        font-weight: bold;
        padding: 16rpx 0;
        display: flex;
        justify-content: center;
        align-items: center;

        .line {
          width: 110rpx;
          height: 4rpx;
          background: #967658;
          border-radius: 2rpx;
        }
        
        .text {
          padding: 0 24rpx;
        }
      }

      .grids {
        display: flex;
        flex-flow: row wrap;
      }

      .grid {
        width: 33.33%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 16rpx 0;
      }

      .icon {
        width: 100rpx;
        height: 100rpx;
      }

      .text {
        padding: 16rpx 0 8rpx 0;
      }
    }
  }
</style>
